package models;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;

import com.google.appengine.api.datastore.Text;
import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

@Cached
public class Domain implements Serializable{
	@Id private String domain = "";
	@Unindexed private String title = "";
	@Unindexed private Text keywords=null;
	@Unindexed private Text description = null;
	@Unindexed private Text des = null;
	@Unindexed private Text popularKeyword = null;
	@Unindexed private String age = "";
	@Unindexed private Text category = null;
	@Unindexed private String googlepr = "";
	@Indexed private int alexa = 0;
	@Indexed private String domainStart = "";
	@Indexed private String otherDomain = "";
	@Indexed private String ip = "";
	@Unindexed private Text linkAnalysis = null;
	@Unindexed private Text indexPage = null;
	@Unindexed private Text backwardLink = null;
	@Unindexed private Text htmlValidation = null;
	@Unindexed private String language = "";
	@Unindexed private String server = "";
	@Unindexed private String javascript = "";
	@Unindexed private String email = "";
	@Unindexed private int status = 0;
	@Indexed private String googleAnalytic = "";
	@Indexed private String googleAdsense = "";
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Text getDes() {
		return des;
	}
	public void setDes(Text des) {
		this.des = des;
	}
	public Text getPopularKeyword() {
		return popularKeyword;
	}
	public void setPopularKeyword(Text popularKeyword) {
		this.popularKeyword = popularKeyword;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public Text getCategory() {
		return category;
	}
	public void setCategory(Text category) {
		this.category = category;
	}
	public String getGooglepr() {
		return googlepr;
	}
	public void setGooglepr(String googlepr) {
		this.googlepr = googlepr;
	}
	public int getAlexa() {
		return alexa;
	}
	public void setAlexa(int alexa) {
		this.alexa = alexa;
	}
	public String getDomainStart() {
		return domainStart;
	}
	public void setDomainStart(String domainStart) {
		this.domainStart = domainStart;
	}
	public String getOtherDomain() {
		return otherDomain;
	}
	public void setOtherDomain(String otherDomain) {
		this.otherDomain = otherDomain;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public Text getLinkAnalysis() {
		return linkAnalysis;
	}
	public void setLinkAnalysis(Text linkAnalysis) {
		this.linkAnalysis = linkAnalysis;
	}
	public Text getIndexPage() {
		return indexPage;
	}
	public void setIndexPage(Text indexPage) {
		this.indexPage = indexPage;
	}
	public Text getBackwardLink() {
		return backwardLink;
	}
	public void setBackwardLink(Text backwardLink) {
		this.backwardLink = backwardLink;
	}
	public Text getHtmlValidation() {
		return htmlValidation;
	}
	public void setHtmlValidation(Text htmlValidation) {
		this.htmlValidation = htmlValidation;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public String getServer() {
		return server;
	}
	public void setServer(String server) {
		this.server = server;
	}
	public String getJavascript() {
		return javascript;
	}
	public void setJavascript(String javascript) {
		this.javascript = javascript;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getGoogleAnalytic() {
		return googleAnalytic;
	}
	public void setGoogleAnalytic(String googleAnalytic) {
		this.googleAnalytic = googleAnalytic;
	}
	public String getGoogleAdsense() {
		return googleAdsense;
	}
	public void setGoogleAdsense(String googleAdsense) {
		this.googleAdsense = googleAdsense;
	}
	public Text getWhois() {
		return whois;
	}
	public void setWhois(Text whois) {
		this.whois = whois;
	}
	public Text getOutLink() {
		return outLink;
	}
	public void setOutLink(Text outLink) {
		this.outLink = outLink;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public void setKeywords(Text keywords) {
		this.keywords = keywords;
	}
	public void setDescription(Text description) {
		this.description = description;
	}
	@Unindexed private Text whois = null;
	@Unindexed private Text outLink = null;
	@Indexed private Date date = new Date();
	public String getDomain() {
		return domain;
	}
	public void setDomain(String domain) {
		this.domain = domain;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Text getKeywords() {
		return keywords;
	}
	public Text getDescription() {
		return description;
	}
}
